/*
 * (c) Copyright Microsoft Corporation. 
 * This source is subject to the Microsoft Public License.
 * See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL       
 */
package com.microsoft.hsg.applications;

import java.io.Serializable;

/**
 * The person info class contains enough information
 * about the logged in user to access their record.
 */
public class PersonInfo implements Serializable
{
	
	/** The record id. */
	private String recordId;
	
	/** The record id. */
	private String personId;
	
	/** The record id. */
	private String personName;

	/** The record id. */
	private String recordName;

	public String getPersonId() {
		return personId;
	}

	public void setPersonId(String personId) {
		this.personId = personId;
	}

	public String getPersonName() {
		return personName;
	}

	public void setPersonName(String personName) {
		this.personName = personName;
	}

	public String getRecordName() {
		return recordName;
	}

	public void setRecordName(String recordName) {
		this.recordName = recordName;
	}

	/** The user auth token. */
	private String userAuthToken;
	
	/**
	 * Gets the record id.
	 * 
	 * @return the record id
	 */
	public String getRecordId()
	{
		return recordId;
	}
	
	/**
	 * Sets the record id.
	 * 
	 * @param recordId the new record id
	 */
	public void setRecordId(String recordId)
	{
		this.recordId = recordId;
	}
	
	/**
	 * Gets the user auth token.
	 * 
	 * @return the user auth token
	 */
	public String getUserAuthToken()
	{
		return userAuthToken;
	}
	
	/**
	 * Sets the user auth token.
	 * 
	 * @param userAuthToken the new user auth token
	 */
	public void setUserAuthToken(String userAuthToken)
	{
		this.userAuthToken = userAuthToken;
	}
}
